object Pedidos: TPedidos
  Left = 0
  Top = 0
  Caption = 'Pedidos'
  ClientHeight = 392
  ClientWidth = 702
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Gauge1: TGauge
    Left = 224
    Top = 134
    Width = 430
    Height = 25
    Progress = 0
  end
  object Button1: TButton
    Left = 8
    Top = 134
    Width = 98
    Height = 25
    Caption = 'Detalhe Venda'
    TabOrder = 0
    OnClick = Button1Click
  end
  object DBGrid2: TDBGrid
    Left = 8
    Top = 8
    Width = 320
    Height = 120
    DataSource = DataSource2
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
  end
  object Button2: TButton
    Left = 112
    Top = 134
    Width = 106
    Height = 25
    Caption = 'Pedido/Parcelas'
    TabOrder = 2
    OnClick = Button2Click
  end
  object DBGrid3: TDBGrid
    Left = 334
    Top = 8
    Width = 320
    Height = 120
    DataSource = DataSource3
    TabOrder = 3
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
  end
  object Query1: TQuery
    DatabaseName = 'C:\Loja\Base Antiga'
    SQL.Strings = (
      'select * from desped')
    Left = 32
    Top = 16
  end
  object Query2: TQuery
    DatabaseName = 'C:\Loja\Base Antiga'
    SQL.Strings = (
      'select * from acerto')
    Left = 88
    Top = 16
  end
  object venda: TADOQuery
    Connection = Form1.ADODESTINO
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from venda')
    Left = 296
    Top = 176
    object vendaid: TIntegerField
      FieldName = 'id'
    end
    object vendaPedido: TStringField
      FieldName = 'Pedido'
      Size = 9
    end
    object vendaNome: TStringField
      FieldName = 'Nome'
      Size = 50
    end
    object vendaParcelas: TIntegerField
      FieldName = 'Parcelas'
    end
    object vendaDias: TIntegerField
      FieldName = 'Dias'
    end
    object vendaDatavenda: TStringField
      FieldName = 'Datavenda'
      Size = 10
    end
    object vendacpf: TStringField
      FieldName = 'cpf'
      Size = 14
    end
    object vendaendereco: TStringField
      FieldName = 'endereco'
      Size = 50
    end
    object vendabairro: TStringField
      FieldName = 'bairro'
      Size = 30
    end
    object vendacidade: TStringField
      FieldName = 'cidade'
      Size = 40
    end
    object vendaestado: TStringField
      FieldName = 'estado'
      Size = 2
    end
    object vendatelefone: TStringField
      FieldName = 'telefone'
      Size = 14
    end
    object vendacelular: TStringField
      FieldName = 'celular'
      Size = 14
    end
    object vendanumero: TStringField
      FieldName = 'numero'
      Size = 4
    end
    object vendacodcliente: TStringField
      FieldName = 'codcliente'
      Size = 5
    end
    object vendaimprimir: TStringField
      FieldName = 'imprimir'
      Size = 1
    end
    object vendavalorvenda: TFloatField
      FieldName = 'valorvenda'
    end
  end
  object DataSource1: TDataSource
    DataSet = venda
    Left = 440
    Top = 40
  end
  object DataSource2: TDataSource
    DataSet = Query1
    Left = 288
    Top = 40
  end
  object detalvenda: TADOQuery
    Connection = Form1.ADODESTINO
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from detalhevenda')
    Left = 360
    Top = 176
    object detalvendaid: TIntegerField
      FieldName = 'id'
    end
    object detalvendaPedido: TStringField
      FieldName = 'Pedido'
      Size = 9
    end
    object detalvendaCodigoproduto: TStringField
      FieldName = 'Codigoproduto'
      Size = 5
    end
    object detalvendaNomeproduto: TStringField
      FieldName = 'Nomeproduto'
      Size = 50
    end
    object detalvendaQuantidade: TIntegerField
      FieldName = 'Quantidade'
    end
    object detalvendaValor: TFloatField
      FieldName = 'Valor'
    end
    object detalvendacpf: TStringField
      FieldName = 'cpf'
      Size = 14
    end
    object detalvendaMarca: TStringField
      FieldName = 'Marca'
      Size = 40
    end
    object detalvendaModelo: TStringField
      FieldName = 'Modelo'
      Size = 40
    end
    object detalvendaCor: TStringField
      FieldName = 'Cor'
      Size = 30
    end
    object detalvendadatavenda: TStringField
      FieldName = 'datavenda'
      Size = 10
    end
    object detalvendatotal: TFloatField
      FieldName = 'total'
    end
  end
  object parcela: TADOQuery
    Connection = Form1.ADODESTINO
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from parcelas')
    Left = 416
    Top = 176
    object parcelaid: TIntegerField
      FieldName = 'id'
    end
    object parcelaCodigocliente: TStringField
      FieldName = 'Codigocliente'
      Size = 5
    end
    object parcelaCodigovenda: TStringField
      FieldName = 'Codigovenda'
      Size = 5
    end
    object parcelaPedido: TStringField
      FieldName = 'Pedido'
      Size = 9
    end
    object parcelaVencimento: TStringField
      FieldName = 'Vencimento'
      Size = 10
    end
    object parcelaParcela: TIntegerField
      FieldName = 'Parcela'
    end
    object parcelaValor: TFloatField
      FieldName = 'Valor'
    end
    object parcelaMulta: TFloatField
      FieldName = 'Multa'
    end
    object parcelaJuros: TFloatField
      FieldName = 'Juros'
    end
    object parcelaDesconto: TFloatField
      FieldName = 'Desconto'
    end
    object parcelaTotal: TFloatField
      FieldName = 'Total'
    end
    object parcelaPagamento: TStringField
      FieldName = 'Pagamento'
      Size = 10
    end
    object parcelaPago: TStringField
      FieldName = 'Pago'
      Size = 8
    end
    object parcelaNome: TStringField
      FieldName = 'Nome'
      Size = 50
    end
    object parcelacpf: TStringField
      FieldName = 'cpf'
      Size = 14
    end
  end
  object DataSource3: TDataSource
    DataSet = Query2
    Left = 360
    Top = 40
  end
  object Cliente: TADOQuery
    Connection = Form1.ADODESTINO
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from cliente')
    Left = 256
    Top = 176
    object ClienteId: TIntegerField
      FieldName = 'Id'
    end
    object ClienteCodigo: TStringField
      FieldName = 'Codigo'
      Size = 5
    end
    object ClienteNome: TStringField
      FieldName = 'Nome'
      Size = 50
    end
    object ClienteConjuje: TStringField
      FieldName = 'Conjuje'
      Size = 50
    end
    object ClienteEndereco: TStringField
      FieldName = 'Endereco'
      Size = 50
    end
    object ClienteCidade: TStringField
      FieldName = 'Cidade'
      Size = 40
    end
    object ClienteBairro: TStringField
      FieldName = 'Bairro'
      Size = 30
    end
    object ClienteTelefone: TStringField
      FieldName = 'Telefone'
      Size = 14
    end
    object ClienteCelular: TStringField
      FieldName = 'Celular'
      Size = 14
    end
    object ClienteEmpresa: TStringField
      FieldName = 'Empresa'
      Size = 50
    end
    object ClienteEnderecotrabalho: TStringField
      FieldName = 'Enderecotrabalho'
      Size = 50
    end
    object ClienteCidadetrabalho: TStringField
      FieldName = 'Cidadetrabalho'
      Size = 40
    end
    object ClienteBairrotrabalho: TStringField
      FieldName = 'Bairrotrabalho'
      Size = 30
    end
    object ClienteRG: TStringField
      FieldName = 'RG'
      Size = 30
    end
    object ClienteIdentificacao: TStringField
      FieldName = 'Identificacao'
      Size = 40
    end
    object ClienteRemuneracao: TFloatField
      FieldName = 'Remuneracao'
    end
    object ClienteDependente: TStringField
      FieldName = 'Dependente'
      Size = 2
    end
    object ClienteNomedependente: TStringField
      FieldName = 'Nomedependente'
      Size = 50
    end
    object ClienteReferencia: TStringField
      FieldName = 'Referencia'
      Size = 50
    end
    object ClienteNascimento: TStringField
      FieldName = 'Nascimento'
      Size = 10
    end
    object ClienteProfissao: TStringField
      FieldName = 'Profissao'
      Size = 40
    end
    object ClienteApelido: TStringField
      FieldName = 'Apelido'
      Size = 30
    end
    object ClienteLimitecompra: TFloatField
      FieldName = 'Limitecompra'
    end
    object ClienteEstadocivil: TStringField
      FieldName = 'Estadocivil'
    end
    object ClienteEstado: TStringField
      FieldName = 'Estado'
      Size = 2
    end
    object ClienteSexo: TStringField
      FieldName = 'Sexo'
      Size = 1
    end
    object ClienteNUMERO: TStringField
      FieldName = 'NUMERO'
      Size = 4
    end
    object ClienteTELEFONETRABALHO: TStringField
      FieldName = 'TELEFONETRABALHO'
      Size = 14
    end
    object ClienteEMAIL: TStringField
      FieldName = 'EMAIL'
      Size = 40
    end
    object ClienteCOMPLEMENTO: TStringField
      FieldName = 'COMPLEMENTO'
      Size = 30
    end
    object ClienteNUMEROTRABALHO: TStringField
      FieldName = 'NUMEROTRABALHO'
      Size = 4
    end
    object ClienteUFTRABALHO: TStringField
      FieldName = 'UFTRABALHO'
      Size = 2
    end
    object ClienteREFERENCIAENDERECO: TStringField
      FieldName = 'REFERENCIAENDERECO'
      Size = 30
    end
    object ClienteCEP: TStringField
      FieldName = 'CEP'
      Size = 9
    end
    object ClienteCPF: TStringField
      FieldName = 'CPF'
      Size = 14
    end
    object Clienteativo: TStringField
      FieldName = 'ativo'
      Size = 10
    end
    object Clientepai: TStringField
      FieldName = 'pai'
      Size = 50
    end
    object Clientemae: TStringField
      FieldName = 'mae'
      Size = 50
    end
  end
  object Produtos: TADOQuery
    Connection = Form1.ADODESTINO
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from PRODUTO')
    Left = 256
    Top = 232
    object ProdutosId: TIntegerField
      FieldName = 'Id'
    end
    object ProdutosCodigo: TStringField
      FieldName = 'Codigo'
      Size = 5
    end
    object ProdutosDescricao: TStringField
      FieldName = 'Descricao'
      Size = 50
    end
    object ProdutosMarca: TStringField
      FieldName = 'Marca'
      Size = 40
    end
    object ProdutosModelo: TStringField
      FieldName = 'Modelo'
      Size = 40
    end
    object ProdutosCor: TStringField
      FieldName = 'Cor'
      Size = 30
    end
    object ProdutosDatareajuste: TStringField
      FieldName = 'Datareajuste'
      Size = 10
    end
    object ProdutosVenda: TFloatField
      FieldName = 'Venda'
    end
    object ProdutosAtivo: TStringField
      FieldName = 'Ativo'
      Size = 10
    end
    object ProdutosReajuste: TStringField
      FieldName = 'Reajuste'
      Size = 10
    end
    object ProdutosCategoria: TStringField
      FieldName = 'Categoria'
      Size = 30
    end
  end
end
